package io.minio.spring.boot.autoconfigure.properties;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author CSY
 * @date 2025 - 09 - 15
 */
@ConfigurationProperties("minio")
public class MinioClientProperties {
    /**
     *文件服务器的链接url
     */
    private String host;
    /**
     *账号
     */
    private String account = "minioadmin";
    /**
     * 密码
     */
    private String password = "minioadmin";
    /**
     * 桶名
     */
    private String bucketName = "myapp";

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }
}
